﻿@using Orchard.Utility.Extensions;
@{
    if (Model.Title != null) {
        Layout.Title = Model.Title;
    }

    Model.Classes.Add("content-item");
    
    var contentTypeClassName = ((string)Model.ContentItem.ContentType).HtmlClassify();
    Model.Classes.Add(contentTypeClassName);    
}
@Display(Model.Content)
@if(Model.Footer != null) {
    <footer>
        @Display(Model.Footer)
    </footer>
}